package org.elanfox.intellicommunity.biz.entity.msg;

import lombok.Getter;
import lombok.Setter;

import javax.persistence.*;

/**
 * 报警消息表
 *
 * @author allan
 * @version 1.0.0
 * @date 2019/12/18
 */
@Entity
@Table(name = "ic_alarm_msg")
@Getter
@Setter
@Cacheable(false)
public class AlarmMsgPO extends MsgBasePO {
    /**
     * 同一个报警分组id
     * 用来标识是否是同一个报警，因为报警是高频的
     */
    @ManyToOne
    @JoinColumn(name = "rel_group_id")
    private AlarmMsgGroupPO alarmMsgGroupPO;
}
